#!/bin/bash

read -p "请输入用户名：" name
read -p "请输入密码：" pass

useradd "$name"
echo "$pass" | passwd --stdin $name 
